.chat-container {
    width: 400px;
    margin: 20px auto;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chat-header {
    padding: 10px;
    background-color: #4caf50;
    color: #fff;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.chat-messages {
    padding: 10px;
}

.message {
    margin-bottom: 10px;
}

.message-sender {
    font-weight: bold;
    color: #4caf50;
}

.message-a .message-content {
    padding: 8px;
    border-radius: 5px;
    background-color: #dcf8c6;
    border: 1px solid #e0e0e0;
}

.message-b .message-content {
    padding: 8px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #c5bbbb;
}

.message-a {
    text-align: right;
    margin-left: 50%;
}

.message-b {
    text-align: left;
    margin-right: 50%;
}

.chat-input {
    padding: 10px;
    display: flex;
    align-items: center;
}

.chat-input input[type="text"] {
    flex-grow: 1;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.chat-input button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.chat-input button:hover {
    background-color: #45a049;
}